package com.etc.service.impl;

import com.etc.dao.HouseholdDao;
import com.etc.entity.Household;
import com.etc.service.HouseholdService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class HouseholdServiceImpl implements HouseholdService {

    @Resource
    private HouseholdDao householdDao;
    @Override
    public int update(Household household) {
        return householdDao.update(household);
    }
}
